# -*- coding = utf-8 -*-
# @Time : 2024/6/9 17:50
# @Author : 0505200213石浪
# @File : chat.py
# @Software : PyCharm

from flask import request, render_template
from . import bp


# 私聊页面
@bp.route('/chat/<username>')
def chat(username):
    friend_name = request.args.get("friend")
    return render_template('Chat_now.html', friend_name=friend_name, username=username)
